package com.tsd.jxc.stock.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.stock.entity.JxcStockInOutList;
import com.tsd.jxc.stock.entity.JxcStockInOutListExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcStockInOutListMapper
 *
 * @author Hillpool
 * @date 2022/10/21 15:38:11
 */
public interface JxcStockInOutListMapper {

    JxcStockInOutList selectByPrimaryKey(Long id);

    JxcStockInOutListExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(JxcStockInOutList record);

    int insertSelective(JxcStockInOutList record);

    int insertList(@Param("list") List<JxcStockInOutListExt> list);

    int updateByPrimaryKey(JxcStockInOutList record);

    int updateByPrimaryKeySelective(JxcStockInOutList record);

    int updateList(@Param("list") List<JxcStockInOutListExt> list);

    List<JxcStockInOutListExt> selectByEntity(JxcStockInOutListExt record);

    List<JxcStockInOutListExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcStockInOutListExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcStockInOutListExt> selectByParams(@Param("params") Map<String, Object> params);
}